widget: Slightly update opacity docs
authorTimm Bäder <mail@baedert.org>
Sun, 11 Oct 2020 08:17:18 +0000 (10:17 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 14 Oct 2020 19:06:12 +0000 (15:06 -0400)
gtk/gtkwidget.c

index 2ea7fb9c3ae205051a0f55aec9f18c83b52b7a19..37ec32857aded118b08f77c161fddcc44cd25031 100644 (file)
@@ -1250,8 +1250,6 @@ gtk_widget_class_init (GtkWidgetClass *klass)
    *
    * The requested opacity of the widget. See gtk_widget_set_opacity() for
    * more details about window opacity.
-   *
-   * Before 3.8 this was only available in GtkWindow
    */
   widget_props[PROP_OPACITY] =
       g_param_spec_double ("opacity",
@@ -9647,8 +9645,6 @@ gtk_widget_get_allocated_baseline (GtkWidget *widget)
  * running. See gdk_display_is_composited(). On Windows it should work
  * always, although setting a window’s opacity after the window has been
  * shown causes it to flicker once on Windows.
- *
- * For child widgets it doesn’t work if any affected widget has a native window.
  **/
 void
 gtk_widget_set_opacity (GtkWidget *widget,